list = [465,8231,8123485,215,612318,12534,561231561,5631,584,2318564,584,5634,561326,4156,1]
# todo 1、给定一个列表： [465,8231,8123485,215,612318,12534,561231561,5631,584,2318564,584,5634,561326,4156,1]
# todo 1.1、取出第六个的值
# a = list[5]
# print(a)
# todo 1.2、判断，如果列表中的值是561231561，则输出：今天你猜对了哦~~~~
if 561231561 in list:
    print('今天你猜对了哦~~~~')
# todo 1.3、取出这个列表里面所有的偶数，创建空列表，使用append方法，添加到新的列表里
# new_list = []
# for b in list:
#     if b % 2 == 0:
#         new_list.append(b)
# print(new_list)
# todo 2、定义集合，使用for遍历访问元素
# fenlu = {'对抗','打野','中路','游走','发育路','全能'}
# for a in fenlu:
#     print(a,end=",")
# todo 3、定义字符串，使用for遍历访问元素
# huanying = '欢迎来到王者荣耀'
# for a in huanying:
#     print(a)
# todo 4、定义字典，使用for遍历访问元素
# yao = {"史诗":"遇见神鹿","传说":"时之祈愿","至尊":"真我赫兹"}
# for a,b in yao.items():
#     print(a,"：",b)
# todo 5、定义列表，使用for遍历访问元素
# zhiye = ["坦克","战士","刺客","法师","射手","辅助"]
# for a in zhiye:
#     print(a,end=",")
# todo 6、遍历：{465,84564,5641,21564,1891563,481564,651,"刘闯","王李","李四","王三"}
# set = {465,84564,5641,21564,1891563,481564,651,"刘闯","王李","李四","王三"}
# for a in set:
#     print(a,end=",")
# todo 6.1、使用for循环遍历上面的集合，如果输出到了刘闯，则循环结束
# for b in set:
#      print(b,end=",")
#      if b == '刘闯':
#          break
# todo 7、以上作业，运行的时候使用断点查看代码运行过程
# todo 8、以上作业，需要咱们17期git仓库里面去写，之后使用git命令上传代码。（每个人上传代码，要有一个目录专门存放自己的作业）